<html>
<body>
Reports statements which use a <code>groovy.lang.GString</code> object as a key to map.
In general <code>GString</code> objects are mutable and probably should not be used as keys.
Also, a <code>GString</code> entry cannot be accessed with a <code>java.lang.String</code> object with same value.
<p><b>Example:</b></p>
<pre>
<code>
def map = [:]
def key = 'foo'
map &lt&lt ["${key}": 'bar']
assert map[key] == null // confusing 'true' result of comparison
</code>
</pre>
<!-- tooltip end -->
<p><small>New in 2017.1</small></p>
</body>
</html>